<div class="col-sm-12 mt20">
    <div class="panel panel-default">
        <div class="panel-body" ng-keyup="myKeyup($event)">
            <div class="col-sm-3">
                <input type="text" class="form-control" placeholder="票种编号" ng-model="searchform.code">
            </div>
            <div class="col-sm-3">
                <input type="text" class="form-control" placeholder="票种名称" ng-model="searchform.name">
            </div>
            <div class="col-sm-2">
                <button class="btn btn-info search btn-block" ng-click="loadlist(1)">立即搜索</button>
            </div>
            <div class="col-sm-2">
                <!-- <button class="btn btn-info search btn-block" ng-click="cardInfo()">创建一卡通</button> -->
            </div>
        </div>

        <div class="panel-body">
            <table class="table table-striped table-bordered dataTable table-condensed tree_table" style="table-layout:fixed">
                <thead>
                    <tr>
                        <th class="col-md-1 text-center">图片</th>
                        <th class="col-md-1 text-center">票种编号</th>
                        <th class="col-md-1 text-center">票种名称</th>
                        <th class="col-md-1 text-center">预订说明</th>
                        <!-- <th class="col-md-1 text-center">描述</th> -->
                        <th class="col-md-1 text-center">操作</th>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-repeat="type in typelist">
                        <td class="text-center">
                            <img src="{{type.img}}" alt="票种图片" width="200px" height="160px">
                        </td>
                        <td class="text-center" style="vertical-align: middle;">{{type.code}}</td>
                        <td class="text-center" style="vertical-align: middle;">{{type.name}}</td>
                        <td class="text-center" style="vertical-align: middle;">{{type.book_info}}</td>
                        <!-- <td class="text-center">{{type.description}}</td> -->
                        <td class="text-center" style="vertical-align: middle;">
                            <button type="button" class="btn btn-info btn-xs" ng-click="selectGoods(type)">选择产品</button>
                            <!-- <button type="button" class="btn btn-danger btn-xs" ng-click="delete($index)">删除</button> -->
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>

        <div class="text-right" style="background-color: white; margin-right: 30px">
            <pagination total-items="totalItems" ng-model="currentPage" ng-change="loadlist(currentPage)" previous-text="上一页" next-text="下一页"
                first-text="首页" last-text="尾页" max-size="5" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
                class="m-t-none m-b"></pagination>
        </div>

    </div>
</div>